//package com.rp.api.article;
//
//import com.rp.bo.CommentReplyBO;
//import com.rp.news.common.Result;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiModelProperty;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.validation.BindingResult;
//import org.springframework.web.bind.annotation.*;
//
//import javax.validation.Valid;
//
//@RequestMapping("comment")
//@Api(value = "评论相关业务的controller",tags = {"评论相关业务的controller"})
//public interface CommentControllerApi {
//
//    @PostMapping("/createComment")
//    @ApiOperation(value = "用户评论",notes = "用户评论",httpMethod = "POST")
//    Result createArticle(@RequestBody @Valid CommentReplyBO commentReplyBO, BindingResult result);
//
//
//
//    @GetMapping("/counts")
//    @ApiOperation(value = "用户评论数查询",notes = "用户评论数查询",httpMethod = "GET")
//    Result commentCounts(@RequestParam String articleId);
//
//
//    @GetMapping("/list")
//    @ApiOperation(value = "查询文章的所有评论列表",notes = "查询文章的所有评论列表",httpMethod = "GET")
//    Result list(@RequestParam String articleId,@RequestParam Integer page,@RequestParam Integer pageSize);
//
//
//
//    @PostMapping("/mng")
//    @ApiOperation(value = "查询我的评论管理列表",notes = "查询我的评论管理列表",httpMethod = "POST")
//    Result mng(@RequestParam String writerId,@RequestParam Integer page,@RequestParam Integer pageSize);
//
//
//
//
//    @PostMapping("/delete")
//    @ApiOperation(value = "作者删除评论",notes = "作者删除评论",httpMethod = "POST")
//    Result delete(@RequestParam String writerId,@RequestParam String commentId);
//
//
//
//
//
//
//}
